<?php
$id=$_GET['id'];
include_once($_SERVER["DOCUMENT_ROOT"].'/home/public/header.php');
include_once($_SERVER["DOCUMENT_ROOT"].'/public/func.php');
$config=include_once($_SERVER["DOCUMENT_ROOT"].'/public/config.php');
$re=sel($config,'`lanmu`');
$rew=sel($config,'`guanli`','where id='.$id.'');
?>
<script type="text/javascript" charset="utf-8" src="/public/biadu/ueditor.config.js"></script>
<script type="text/javascript" charset="utf-8" src="/public/biadu/ueditor.all.min.js"> </script>
<script type="text/javascript" charset="utf-8" src="/public/biadu/lang/zh-cn/zh-cn.js"></script>
<article class="blogs">

  <h1 class="t_nav">
 
  </span><a href="/" class="n1">网站首页</a>
  <a href="/" class="n2">文章详情</a></h1>
  <div class="index_about">
    <h2 class="c_titile"><?php echo $rew[0]['title']; ?></h2>
    <p class="box_c">
    <span class="d_time">发布时间：<?php echo $rew[0]['addtime']; ?></span>
    <span>编辑：董佩</span>
    <span>qq：**********</a></span></p>
    <ul class="infos">
      <p><?php echo $rew[0]['content']; ?></p>
    </ul>
    <div class="keybq">
    <p><span>标签：</span>
    <?php echo $rew[0]['biao']; ?></p>
    </div>
  <div class="ad"> </div>
    

  </div>
  <aside class="right">
    <!-- Baidu Button BEGIN -->
    <div id="bdshare" class="bdshare_t bds_tools_32 get-codes-bdshare">
    <a class="bds_tsina"></a>
    <a class="bds_qzone"></a>
    <a class="bds_tqq"></a>
    <a class="bds_renren"></a>
    <span class="bds_more"></span>
    <a class="shareCount"></a>
    </div>
    
    <!-- Baidu Button END -->
    <div class="blank"></div>
    <div class="news">
      <h3>
        <p>栏目展示</p>
      </h3>
      <ul class="rank">
      <?php
      foreach ($re as $v) {
        echo '<li><a href="/" title="lan" target="_blank">'.$v['lan'].'</a></li>
        ';
      }?>
      </ul>
    </div>
  
  </aside>
</article>
<?php
include_once($_SERVER["DOCUMENT_ROOT"].'/home/public/footer.php');
?>